<!--
*Author：DGZ
 *Contact：jiduxiong@dagongzao.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/bizappproject/quality_daily_report/Quality_Daily_Report.jsx此处编写
 -->
<template>
    <view-grid ref="grid"
               :columns="columns"
               :detail="detail"
               :details="details"
               :editFormFields="editFormFields"
               :editFormOptions="editFormOptions"
               :searchFormFields="searchFormFields"
               :searchFormOptions="searchFormOptions"
               :table="table"
               :extend="extend">
    </view-grid>
</template>
<script>
    import extend from "@/extension/bizappproject/quality_daily_report/Quality_Daily_Report.jsx";
    import { ref, defineComponent } from "vue";
    export default defineComponent({
        name: "Quality_Daily_Report",
        setup() {
            const table = ref({
                key: "Id",
                footer: "Foots",
                cnName: "三地质量整序日报",
                name: "quality_daily_report/Quality_Daily_Report",
                newTabEdit: false,
                url: "/Quality_Daily_Report/",
                sortName: "Id"
            });
            const editFormFields = ref({"Factory1":"","Factory2":"","Factory3":"","WaveId1":"","WaveId2":"","WaveId3":"","InpectionTime":"","ProductId":"","Grade":"","Plating":"","BlankLotName":"","Spec":"","AtmMonth":"","ScheduleId":"","OutgoingFinalQty":"","IncomingQualifiedFinalQty":"","DefectBlankQty":"","DefectGrindingQty":"","DefectPunchingQty":"","DefectLinearQty":"","DefectCuteQty":"","DefectVariableQty":"","DefectFringeQty":"","DefectSliceQty":"","DefectChamferQty":"","DefectPlatingQty":"","DefectPermeationQty":"","ReworkDefectQty":"","ChipFinalQty":"","DefectBlackFinalQty":"","PlatingCheckFallQty":"","MagnetizationFallQty":"","SamplingReliabilityQty":"","MaterialEbQty":"","MaterialCrackQty":"","MaterialDitQty":"","MaterialImpurityQty":"","MaterialLightspotQty":"","MaterialSiliconeOilQty":"","MaterialFluxBadQty":"","MaterialOxygenQty":"","MaterialMiscQty":"","DefectGrindingEbQty":"","DefectGrindingProcessQty":"","DefectPunchingEbQty":"","DefectPunchingProcessQty":"","DefectFringeEbQty":"","DefectFringeProcessQty":"","DefectLinearEbQty":"","DefectLinearProcessQty":"","DefectCuteEbQty":"","DefectCuteProcessQty":"","DefectVariableEbQty":"","DefectVariableProcessQty":"","DefectVariableVerticalityQty":"","DefectVariablePitQty":"","DefectSliceEbQty":"","DefectSliceProcessQty":"","DefectSliceMarkQty":"","DefectSliceVerticalityQty":"","DefectSliceSizeQty":"","DefectSlicePitQty":"","DefectChamferEbQty":"","DefectChamferProcessQty":"","DefectChamferPitQty":"","DefectPlatingConcavePitQty":"","DefectPlatingColordiffQty":"","DefectPlatingSizeQty":"","DefectPlatingFluxQty":"","DefectPlatingEdgeBrokenQty":"","DefectPlatingPaintQty":"","DefectPlatingNetQty":"","DefectPlatingForeignQty":"","DefectPlatingBubbleQty":"","DefectPlatingPitQty":"","DefectPlatingDisabilityQty":"","ReworkTestQty":"","ReworkColordiffQty":"","ReworkScratchQty":"","ReworkBlisterQty":"","ReworkOutoftolQty":"","ReworkEdgeBrokenQty":"","ReworkPitQty":"","ReworkPaintQty":"","ReworkForeignQty":"","ReworkNetQty":"","ReworkPlatingPaintQty":""});
            const editFormOptions = ref([[{"dataKey":"三地工厂","data":[],"title":"主工厂","field":"Factory1","type":"select"},
                               {"title":"生产波次1","field":"WaveId1"},
                               {"dataKey":"三地工厂","data":[],"title":"工厂2","field":"Factory2","type":"select"},
                               {"title":"生产波次2","field":"WaveId2"},
                               {"dataKey":"三地工厂","data":[],"title":"工厂3","field":"Factory3","type":"select"},
                               {"title":"生产波次3","field":"WaveId3"}],
                              [{"title":"检测日期","field":"InpectionTime"},
                               {"title":"产品","field":"ProductId"},
                               {"title":"性能","field":"Grade"},
                               {"title":"镀层","field":"Plating"},
                               {"title":"炉号","field":"BlankLotName"},
                               {"title":"规格","field":"Spec"}],
                              [{"title":"安泰月","field":"AtmMonth"},
                               {"title":"订单号","field":"ScheduleId"},
                               {"title":"投料数","field":"OutgoingFinalQty","type":"decimal"},
                               {"title":"合格数","field":"IncomingQualifiedFinalQty","type":"decimal"}],
                              [{"title":"毛坯不良","field":"DefectBlankQty","type":"decimal"},
                               {"title":"磨加工不良","field":"DefectGrindingQty","type":"decimal"},
                               {"title":"打掏孔不良","field":"DefectPunchingQty","type":"decimal"},
                               {"title":"线切割不良","field":"DefectLinearQty","type":"decimal"},
                               {"title":"切方不良","field":"DefectCuteQty","type":"decimal"},
                               {"title":"异形磨不良","field":"DefectVariableQty","type":"decimal"}],
                              [{"title":"平磨不良","field":"DefectFringeQty","type":"decimal"},
                               {"title":"切片不良","field":"DefectSliceQty","type":"decimal"},
                               {"title":"倒角不良","field":"DefectChamferQty","type":"decimal"},
                               {"title":"电镀不良","field":"DefectPlatingQty","type":"decimal"},
                               {"title":"渗透不良","field":"DefectPermeationQty","type":"decimal"},
                               {"title":"电镀可返不良","field":"ReworkDefectQty","type":"decimal"}],
                              [{"title":"电镀检出崩边","field":"ChipFinalQty","type":"decimal"},
                               {"title":"电镀检出黑磕","field":"DefectBlackFinalQty","type":"decimal"},
                               {"title":"检包落地片","field":"PlatingCheckFallQty","type":"decimal"},
                               {"title":"充磁不良","field":"MagnetizationFallQty","type":"decimal"},
                               {"title":"送测样品","field":"SamplingReliabilityQty","type":"decimal"},
                               {"title":"毛坯磕边","field":"MaterialEbQty","type":"decimal"}],
                              [{"title":"毛坯裂纹","field":"MaterialCrackQty","type":"decimal"},
                               {"title":"毛坯砂眼","field":"MaterialDitQty","type":"decimal"},
                               {"title":"毛坯杂质","field":"MaterialImpurityQty","type":"decimal"},
                               {"title":"毛坯亮点","field":"MaterialLightspotQty","type":"decimal"},
                               {"title":"毛坯硅油","field":"MaterialSiliconeOilQty","type":"decimal"},
                               {"title":"毛坯磁通不良","field":"MaterialFluxBadQty","type":"decimal"}],
                              [{"title":"毛坯氧化","field":"MaterialOxygenQty","type":"decimal"},
                               {"title":"黑皮/退料","field":"MaterialMiscQty","type":"decimal"},
                               {"title":"磨加工磕边","field":"DefectGrindingEbQty","type":"decimal"},
                               {"title":"磨加工工残","field":"DefectGrindingProcessQty","type":"decimal"},
                               {"title":"打掏孔磕边","field":"DefectPunchingEbQty","type":"decimal"},
                               {"title":"打掏孔工残","field":"DefectPunchingProcessQty","type":"decimal"}],
                              [{"title":"平磨磕边","field":"DefectFringeEbQty","type":"decimal"},
                               {"title":"平磨工残","field":"DefectFringeProcessQty","type":"decimal"},
                               {"title":"线切割磕边","field":"DefectLinearEbQty","type":"decimal"},
                               {"title":"线切割工残","field":"DefectLinearProcessQty","type":"decimal"},
                               {"title":"切方磕边","field":"DefectCuteEbQty","type":"decimal"},
                               {"title":"切方工残","field":"DefectCuteProcessQty","type":"decimal"}],
                              [{"title":"异形磨磕边","field":"DefectVariableEbQty","type":"decimal"},
                               {"title":"异形磨工残","field":"DefectVariableProcessQty","type":"decimal"},
                               {"title":"异形磨垂直度超差","field":"DefectVariableVerticalityQty","type":"decimal"},
                               {"title":"异形磨麻坑","field":"DefectVariablePitQty","type":"decimal"},
                               {"title":"切片磕边","field":"DefectSliceEbQty","type":"decimal"},
                               {"title":"切片工残","field":"DefectSliceProcessQty","type":"decimal"}],
                              [{"title":"切片刀痕","field":"DefectSliceMarkQty","type":"decimal"},
                               {"title":"切片垂直度超差","field":"DefectSliceVerticalityQty","type":"decimal"},
                               {"title":"切片垂直度超差","field":"DefectSliceSizeQty","type":"decimal"},
                               {"title":"切片麻坑","field":"DefectSlicePitQty","type":"decimal"},
                               {"title":"倒角磕边","field":"DefectChamferEbQty","type":"decimal"},
                               {"title":"倒角工残","field":"DefectChamferProcessQty","type":"decimal"}],
                              [{"title":"倒角麻坑","field":"DefectChamferPitQty","type":"decimal"},
                               {"title":"电镀凹坑","field":"DefectPlatingConcavePitQty","type":"decimal"},
                               {"title":"电镀镀层色差","field":"DefectPlatingColordiffQty","type":"decimal"},
                               {"title":"电镀尺寸超差","field":"DefectPlatingSizeQty","type":"decimal"},
                               {"title":"电镀结合力不良","field":"DefectPlatingFluxQty","type":"decimal"},
                               {"title":"电镀磕边","field":"DefectPlatingEdgeBrokenQty","type":"decimal"}],
                              [{"title":"喷涂集漆","field":"DefectPlatingPaintQty","type":"decimal"},
                               {"title":"喷涂粘网","field":"DefectPlatingNetQty","type":"decimal"},
                               {"title":"喷涂异物","field":"DefectPlatingForeignQty","type":"decimal"},
                               {"title":"电镀气泡","field":"DefectPlatingBubbleQty","type":"decimal"},
                               {"title":"电镀麻坑","field":"DefectPlatingPitQty","type":"decimal"},
                               {"title":"电镀镀残","field":"DefectPlatingDisabilityQty","type":"decimal"}],
                              [{"title":"可返实验","field":"ReworkTestQty","type":"decimal"},
                               {"title":"可返镀层色差","field":"ReworkColordiffQty","type":"decimal"},
                               {"title":"可返镀层划痕","field":"ReworkScratchQty","type":"decimal"},
                               {"title":"可返起泡","field":"ReworkBlisterQty","type":"decimal"},
                               {"title":"可返超差","field":"ReworkOutoftolQty","type":"decimal"},
                               {"title":"可返磕边","field":"ReworkEdgeBrokenQty","type":"decimal"}],
                              [{"title":"可返凹坑","field":"ReworkPitQty","type":"decimal"},
                               {"title":"可返集漆","field":"ReworkPaintQty","type":"decimal"},
                               {"title":"可返异物","field":"ReworkForeignQty","type":"decimal"},
                               {"title":"可返粘网","field":"ReworkNetQty","type":"decimal"},
                               {"title":"可返电镀掉漆","field":"ReworkPlatingPaintQty","type":"decimal"}]]);
            const searchFormFields = ref({"Factory1":"","Factory2":"","Factory3":"","WaveId1":"","InpectionTime":"","ProductId":"","Grade":"","Plating":"","BlankLotName":"","Spec":"","AtmMonth":"","ScheduleId":"","OutgoingFinalQty":"","IncomingQualifiedFinalQty":""});
            const searchFormOptions = ref([[{"dataKey":"三地工厂","data":[],"title":"主工厂","field":"Factory1","type":"like"},{"dataKey":"三地工厂","data":[],"title":"工厂2","field":"Factory2","type":"like"},{"title":"生产波次1","field":"WaveId1","type":"like"},{"dataKey":"三地工厂","data":[],"title":"工厂3","field":"Factory3","type":"like"}],[{"title":"检测日期","field":"InpectionTime","type":"like"},{"title":"产品","field":"ProductId","type":"like"},{"title":"性能","field":"Grade","type":"like"},{"title":"镀层","field":"Plating","type":"like"}],[{"title":"炉号","field":"BlankLotName","type":"like"},{"title":"规格","field":"Spec","type":"like"},{"title":"安泰月","field":"AtmMonth","type":"like"},{"title":"订单号","field":"ScheduleId","type":"like"}],[{"title":"投料数","field":"OutgoingFinalQty","type":"like"},{"title":"合格数","field":"IncomingQualifiedFinalQty","type":"like"}]]);
            const columns = ref([{field:"Factory1",title:"主工厂",type:"string",bind:{ key:"三地工厂",data:[]},sort:true,width:120,showOverflowTooltip:true,align:"left"},
                       {field:"Factory2",title:"工厂2",type:"string",bind:{ key:"三地工厂",data:[]},sort:true,width:120,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"Factory3",title:"工厂3",type:"string",bind:{ key:"三地工厂",data:[]},sort:true,width:120,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"Id",title:"键",type:"bigint",width:110,hidden:true,readonly:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"WaveId1",title:"生产波次1",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"WaveId2",title:"生产波次2",type:"string",width:150,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"WaveId3",title:"生产波次3",type:"string",width:150,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"InpectionTime",title:"检测日期",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"ProductId",title:"产品",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"Grade",title:"性能",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"Plating",title:"镀层",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"BlankLotName",title:"炉号",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"Spec",title:"规格",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"AtmMonth",title:"安泰月",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"ScheduleId",title:"订单号",type:"string",sort:true,width:150,showOverflowTooltip:true,align:"left"},
                       {field:"OutgoingFinalQty",title:"投料数",type:"decimal",sort:true,width:110,showOverflowTooltip:true,align:"left"},
                       {field:"IncomingQualifiedFinalQty",title:"合格数",type:"decimal",sort:true,width:110,showOverflowTooltip:true,align:"left"},
                       {field:"IsValid",title:"是否有效(0:否,1:是)",type:"int",width:110,hidden:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"Remarks",title:"备注",type:"string",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"CreateId",title:"创建人ID",type:"bigint",width:80,hidden:true,require:true,showOverflowTooltip:true,align:"left"},
                       {field:"Creator",title:"创建人名",type:"string",width:100,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"CreateTime",title:"创建时间",type:"datetime",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"ModifyId",title:"修改人ID",type:"bigint",width:80,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"Modifier",title:"修改人名",type:"string",width:100,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"ModifyTime",title:"修改时间",type:"datetime",width:110,hidden:true,showOverflowTooltip:true,align:"left"},
                       {field:"DefectBlankQty",title:"毛坯不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectGrindingQty",title:"磨加工不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPunchingQty",title:"打掏孔不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectLinearQty",title:"线切割不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectCuteQty",title:"切方不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectVariableQty",title:"异形磨不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectFringeQty",title:"平磨不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceQty",title:"切片不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectChamferQty",title:"倒角不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingQty",title:"电镀不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPermeationQty",title:"渗透不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkDefectQty",title:"电镀可返不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ChipFinalQty",title:"电镀检出崩边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectBlackFinalQty",title:"电镀检出黑磕",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"PlatingCheckFallQty",title:"检包落地片",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MagnetizationFallQty",title:"充磁不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"SamplingReliabilityQty",title:"送测样品",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialEbQty",title:"毛坯磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialCrackQty",title:"毛坯裂纹",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialDitQty",title:"毛坯砂眼",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialImpurityQty",title:"毛坯杂质",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialLightspotQty",title:"毛坯亮点",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialSiliconeOilQty",title:"毛坯硅油",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialFluxBadQty",title:"毛坯磁通不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialOxygenQty",title:"毛坯氧化",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"MaterialMiscQty",title:"黑皮/退料",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectGrindingEbQty",title:"磨加工磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectGrindingProcessQty",title:"磨加工工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPunchingEbQty",title:"打掏孔磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPunchingProcessQty",title:"打掏孔工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectFringeEbQty",title:"平磨磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectFringeProcessQty",title:"平磨工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectLinearEbQty",title:"线切割磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectLinearProcessQty",title:"线切割工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectCuteEbQty",title:"切方磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectCuteProcessQty",title:"切方工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectVariableEbQty",title:"异形磨磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectVariableProcessQty",title:"异形磨工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectVariableVerticalityQty",title:"异形磨垂直度超差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectVariablePitQty",title:"异形磨麻坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceEbQty",title:"切片磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceProcessQty",title:"切片工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceMarkQty",title:"切片刀痕",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceVerticalityQty",title:"切片垂直度超差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSliceSizeQty",title:"切片垂直度超差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectSlicePitQty",title:"切片麻坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectChamferEbQty",title:"倒角磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectChamferProcessQty",title:"倒角工残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectChamferPitQty",title:"倒角麻坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingConcavePitQty",title:"电镀凹坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingColordiffQty",title:"电镀镀层色差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingSizeQty",title:"电镀尺寸超差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingFluxQty",title:"电镀结合力不良",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingEdgeBrokenQty",title:"电镀磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingPaintQty",title:"喷涂集漆",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingNetQty",title:"喷涂粘网",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingForeignQty",title:"喷涂异物",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingBubbleQty",title:"电镀气泡",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingPitQty",title:"电镀麻坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"DefectPlatingDisabilityQty",title:"电镀镀残",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkTestQty",title:"可返实验",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkColordiffQty",title:"可返镀层色差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkScratchQty",title:"可返镀层划痕",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkBlisterQty",title:"可返起泡",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkOutoftolQty",title:"可返超差",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkEdgeBrokenQty",title:"可返磕边",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkPitQty",title:"可返凹坑",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkPaintQty",title:"可返集漆",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkForeignQty",title:"可返异物",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkNetQty",title:"可返粘网",type:"decimal",width:120,showOverflowTooltip:true,align:"left"},
                       {field:"ReworkPlatingPaintQty",title:"可返电镀掉漆",type:"decimal",width:120,showOverflowTooltip:true,align:"left"}]);
            const detail = ref({columns:[]});
            const details = ref([]);
            return {
                table,
                extend,
                editFormFields,
                editFormOptions,
                searchFormFields,
                searchFormOptions,
                columns,
                detail,
                details
            };
        },
    });
</script>
